package com.cnebula.openapi.auth.exception;

public class ErrorInfo {
	public static final String SYS_HEADER_PARAMTER_MISSING = "1001012";
	public static final String SYS_HEADER_PARAMTER_MISSING_INFO = "Header paramter (%s) is missing";
	
	public static final String SYS_PARAMTER_MISSING = "1001023";
	public static final String SYS_PARAMTER_MISSING_INFO = "Request paramter (%s) is missing";
	
	public static final String SYS_UNKNOW = "1001999";
	public static final String SYS_UNKNOW_INFO = "Unknow system error";
	
	public static final String APP_CLIENT_ADDRESS_MISMATCH = "2000109";
	public static final String APP_CLIENT_ADDRESS_MISMATCH_INFO = "Client address mismatch";
	public static final String APP_CLIENTKEY_NOT_EXIST = "2000110";
	public static final String APP_CLIENTKEY_NOT_EXIST_INFO = "Client ID not exist";
	public static final String APP_CLIENTKEY_EXPIRED = "2000111";
	public static final String APP_CLIENTKEY_EXPIRED_INFO = "Client ID has expired";
	public static final String APP_CLIENTKEY_UNAVAILABLE = "2000112";
	public static final String APP_CLIENTKEY_UNAVAILABLE_INFO = "Client ID status is unavailable";
	public static final String APP_CLIENTKEY_SERVICE_REQ_FAIL = "2000113";
	public static final String APP_CLIENTKEY_SERVICE_REQ_FAIL_INFO = "Request Client Key/ID service fail [%s]";
	
	public static final String APP_AUTHCODE_UNAVAILABLE = "2000114";
	public static final String APP_AUTHCODE_UNAVAILABLE_INFO = "Authorization code is unavailable or has expired";
	
	public static final String APP_GRANT_TYPE_UNSUPPORTED = "2000115";
	public static final String APP_GRANT_TYPE_UNSUPPORTED_INFO = "Unsupported_grant_type";
	public static final String APP_RESPONSE_TYPE_UNSUPPORTED = "2000116";
	public static final String APP_RESPONSE_TYPE_UNSUPPORTED_INFO = "Unsupported_response_type";
	public static final String APP_REDIRECT_URI_MISMATCH = "2000117";
	public static final String APP_REDIRECT_URI_MISMATCH_INFO = "Redirect_uri_mismatch";
	public static final String APP_IVALID_CREDENCIAL = "2000118";
	public static final String APP_IVALID_CREDENCIAL_INFO = "Invalid_credencial";
	
	public static final String APP_SIGN_ILLEGAL = "2000121";
	public static final String APP_SIGN_ILLEGAL_INFO = "Sign is illegal";
	public static final String APP_SIGN_EXPIRED = "2000122";
	public static final String APP_SIGN_EXPIRED_INFO = "Sign has expired";
	
	public static final String APP_ACCESS_TOKEN_ILLEGAL = "2000123";
	public static final String APP_ACCESS_TOKEN_ILLEGAL_INFO = "Access Token is illegal";
	public static final String APP_ACCESS_TOKEN_NOT_FOUND = "2000124";
	public static final String APP_ACCESS_TOKEN_NOT_FOUND_INFO = "Access Token not found or has expired";
	
	public static final String APP_LOGOUT_NO_NORMAL = "2000125";
	public static final String APP_LOGOUT_NO_NORMAL_INFO = "Logout token not found or has expired, abnormal logout";
	
	
}
